﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Common
{
    public class Pair<F, S>
    {
        private F _first;
        private S _second;

        public Pair(F first, S second)
        {
            _first = first;
            _second = second;
        }

        public F First
        {
            get
            {
                return _first;
            }
        }

        public S Second
        {
            get
            {
                return _second;
            }
        }

        public override string ToString()
        {
            return String.Format("<{0}:{1}>", _first, _second);
        }
    }
}
